package com.jnshu.service;

import com.jnshu.dto.admin.ModelDto;
import com.jnshu.pojo.Manage;
import com.jnshu.pojo.Model;
import com.jnshu.tools.resultUtils.PageBean;
import com.jnshu.tools.resultUtils.ResultBean;

import java.util.List;

/**
 * @author Martin
 * @date 2019/8/12 21:22
 */
public interface ModelService {
    //根据id删除
    ResultBean deleteByPrimaryKey(Long id);
    //新增模块
    ResultBean insertSelective(ModelDto modelDto,String loginId);
    //根据id更新
    ResultBean updateByPrimaryKeySelective(ModelDto modelDto,String loginId);
    //分页列表查询
    PageBean selectModelList(int pageNum, int pageSize);
}
